package com.example.badyloans.dao;

import com.example.badyloans.pojo.TSystemDictionaryItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TSystemDictionaryItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(TSystemDictionaryItem record);

    TSystemDictionaryItem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TSystemDictionaryItem record);

    List<TSystemDictionaryItem> selectchaxunquanbu();

    List<TSystemDictionaryItem> selectchaxunquanbu1(@Param("keyword") String keyword,@Param("parentId") Integer parentId,@Param("currentPageNo") int currentPageNo,
                                                   @Param("pageSize") int pageSize);

    int selectchaxunquanbu2(@Param("parentId") Integer parentId,@Param("keyword") String keyword);
}